package com.Service;

import com.Mapper.sturootMapper;
import com.bean.sturoot;
import org.junit.jupiter.api.Test;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
public class sturootService {

    @Autowired
    private sturootMapper srootMapper;


    public List<sturoot> findAllRoot(){
        return srootMapper.list();
    }
}
